package org.springsource.examples.crm.model;

import java.util.HashSet;
import java.util.Set;

public class Product implements java.io.Serializable {
	private Long id;
	private String description;
	private String name;
	private double price;
	private Set lineItems = new HashSet();

	// constructors, and accessor / mutator pairs omitted for brevity
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public Set getLineItems() {
		return lineItems;
	}

	public void setLineItems(Set lineItems) {
		this.lineItems = lineItems;
	}

}
